package com.hydl.power.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hydl.power.pojo.Log;
import com.hydl.power.pojo.LogExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogMapper extends BaseMapper<Log> {
    int deleteByPrimaryKey(String logId);

    @Override
    int insert(Log record);

    int insertSelective(Log record);

    List<Log> selectByExample(LogExample example);

    Log selectByPrimaryKey(String logId);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKey(Log record);

    List selectAll();

    List<Log> getLogList(@Param("pageNumKey")Integer pageNum, @Param("pageSizeKey")  Integer pageSize, String startTime, String endTime);
}